from matplotlib import pyplot as plt

#正常的条形图

xData = ["movie1","movie2","movie3","movie4","movie5","movie6","movie7"]
yData = [56.01,26.94,17.53,16.94,15.45,12.96,11.8]

plt.figure(figsize=(80,8),dpi=80)

plt.xticks(range(len(xData)),xData,rotation=90)

plt.bar(range(len(xData)),yData,width=0.3)

plt.show()
